<?php /* Smarty version 2.6.19, created on 2010-10-27 14:16:32
         compiled from cart_orderview_inc.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'number_format', 'cart_orderview_inc.html', 27, false),)), $this); ?>
<table width="726" border="0" align="center" cellpadding="0" cellspacing="0">
                    <tr>
                      <td width="726" align="left" valign="top"><table border="0" align="center" cellpadding="0" cellspacing="0">
                          <tr>
                            <td height="8px"></td>
                          </tr>
                        </table>
                        <br />
                        <form id="form1" name="form1" method="post" action="inc/cart_post.php?savecart=true" >
              <table width="100%"  border="0" cellspacing="1" cellpadding="7">
    <tr>
      <td background="skins/stlye/images/gwcbtbj_03.jpg" style="font-size:14px; font-weight: bold; color: #346699; border-bottom:solid 1px #d5e7fd; "><table width="100%" border="0" cellspacing="0" cellpadding="0" style="height:27px;">
        <tr>
          <td width="10%" align="center"  style="border-right:solid 1px #d5e7fd;">序号</td>
          <td width="30%" align="center" style="border-right:solid 1px #d5e7fd;">书籍名称</td>
          <td width="20%" align="center" style="border-right:solid 1px #d5e7fd;">单价(Z币)</td>
          <td width="20%" align="center" style="border-right:solid 1px #d5e7fd;">数量</td>
          <td width="10%" align="center" style="border-right:solid 1px #d5e7fd;">合计</td>
          </tr>
      </table></td>
    </tr>
    <tr>
      <td colspan="6" align="right"  style=""><?php unset($this->_sections['i']);
$this->_sections['i']['name'] = 'i';
$this->_sections['i']['loop'] = is_array($_loop=$this->_tpl_vars['clist']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['i']['show'] = true;
$this->_sections['i']['max'] = $this->_sections['i']['loop'];
$this->_sections['i']['step'] = 1;
$this->_sections['i']['start'] = $this->_sections['i']['step'] > 0 ? 0 : $this->_sections['i']['loop']-1;
if ($this->_sections['i']['show']) {
    $this->_sections['i']['total'] = $this->_sections['i']['loop'];
    if ($this->_sections['i']['total'] == 0)
        $this->_sections['i']['show'] = false;
} else
    $this->_sections['i']['total'] = 0;
if ($this->_sections['i']['show']):

            for ($this->_sections['i']['index'] = $this->_sections['i']['start'], $this->_sections['i']['iteration'] = 1;
                 $this->_sections['i']['iteration'] <= $this->_sections['i']['total'];
                 $this->_sections['i']['index'] += $this->_sections['i']['step'], $this->_sections['i']['iteration']++):
$this->_sections['i']['rownum'] = $this->_sections['i']['iteration'];
$this->_sections['i']['index_prev'] = $this->_sections['i']['index'] - $this->_sections['i']['step'];
$this->_sections['i']['index_next'] = $this->_sections['i']['index'] + $this->_sections['i']['step'];
$this->_sections['i']['first']      = ($this->_sections['i']['iteration'] == 1);
$this->_sections['i']['last']       = ($this->_sections['i']['iteration'] == $this->_sections['i']['total']);
?><table width="100%" border="0" cellspacing="0" cellpadding="0" style="height:27px;">
        <tr>
          <td width="10%" align="center"  ><?php echo $this->_sections['i']['rownum']; ?>
</td>
          <td width="30%" align="left" ><a href="book_show.php?id=<?php echo $this->_tpl_vars['clist'][$this->_sections['i']['index']]['url']; ?>
" target="_blank"><span style="color:#009; text-decoration:underline"><?php echo $this->_tpl_vars['clist'][$this->_sections['i']['index']]['name']; ?>
</span></a></td>
          <td width="20%" align="center" ><?php echo ((is_array($_tmp=$this->_tpl_vars['clist'][$this->_sections['i']['index']]['price_y'])) ? $this->_run_mod_handler('number_format', true, $_tmp, 2) : number_format($_tmp, 2)); ?>
</td>
          <td width="20%" align="center" ><?php echo $this->_tpl_vars['clist'][$this->_sections['i']['index']]['num']; ?>
</td>
          <td width="10%" align="center" ><?php echo ((is_array($_tmp=$this->_tpl_vars['clist'][$this->_sections['i']['index']]['xiaoji'])) ? $this->_run_mod_handler('number_format', true, $_tmp, 2) : number_format($_tmp, 2)); ?>
</td>
          </tr>
      </table><?php endfor; endif; ?></td>
    </tr>
    <tr>
      <td colspan="6" align="right"  style="font-size:14px; padding-right:15px;">可获取积分：<?php echo $this->_tpl_vars['jifen']; ?>
 &nbsp;总计：<?php echo ((is_array($_tmp=$this->_tpl_vars['zongji'])) ? $this->_run_mod_handler('number_format', true, $_tmp, 2) : number_format($_tmp, 2)); ?>
 Z币</td>
    </tr>
  </table>
                          
                          <table width="98%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#CCCCCC">
                            <tr> 
                              <td bgcolor="#f1f1f1">订货信息</td>
                            </tr>
                            <tr bgcolor="#FFFFFF"> 
                              <td width="87%"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="1">
                                <tr>
                                  <td align="right" bgcolor="#F7F7F7">收货人姓名：</td>
                                  <td><div align="left">&nbsp;
                                    <input name="username" type="hidden" id="username" value="<?php echo $_POST['username']; ?>
" size="20"/><?php echo $_POST['username']; ?>
&nbsp;<input name="sex" type="hidden" id="sex" value="<?php echo $_POST['sex']; ?>
" size="20"/><?php echo $_POST['xingbie']; ?>

                                
                                  </div></td>
                                  <td align="right" bgcolor="#F7F7F7">邮政编码：</td>
                                  <td>&nbsp;<input name="youbian" type="hidden" id="youbian" value="<?php echo $_POST['youbian']; ?>
" size="20"/><?php echo $_POST['youbian']; ?>
</td>
                                </tr>
                                <tr>
                                  <td align="right" bgcolor="#F7F7F7">手&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 机：</td>
                                  <td><div align="left">
                                    &nbsp;
                                    <input name="shouji" type="hidden" id="shouji" value="<?php echo $_POST['shouji']; ?>
" size="20"/>
                                 <?php echo $_POST['shouji']; ?>
 </div></td>
                                  <td align="right" bgcolor="#F7F7F7">联系电话：</td>
                                  <td>&nbsp;<input name="tel" type="hidden" id="tel" value="<?php echo $_POST['tel']; ?>
" size="20"/><?php echo $_POST['tel']; ?>
</td>
                                </tr>
                                <tr> 
                                  <td width="18%" align="right" bgcolor="#F7F7F7">电子邮件：</td>
                                  <td width="36%" align="left"> <div align="left"> 
                                    &nbsp;
                                    <input name="email" type="hidden" id="email" value="<?php echo $_POST['email']; ?>
" size="20"/>
                                <?php echo $_POST['email']; ?>
  </div></td>
                                  <td width="15%" align="right" bgcolor="#F7F7F7">QQ/MSN：</td>
                                  <td width="31%" align="left">&nbsp;<input name="qq" type="hidden" id="qq" value="<?php echo $_POST['qq']; ?>
 <?php echo $_POST['msn']; ?>
" size="20" /><?php echo $_POST['qq']; ?>
 </td>
                                </tr>
                                <tr>
                                  <td align="right" bgcolor="#F7F7F7">支付方式：</td>
                                  <td align="left">&nbsp;
                                  <input name="zhifufangshi" type="hidden" id="zhifufangshi" value="<?php echo $_POST['zhifufangshi']; ?>
" size="20"/>
                                <?php echo $this->_tpl_vars['zhifufangshi']; ?>
</td>
                                  <td align="right" bgcolor="#F7F7F7">配送方式：</td>
                                  <td align="left">&nbsp;<input name="peisong" type="hidden" id="peisong" value="<?php echo $_POST['peisong']; ?>
" size="20" /><?php echo $this->_tpl_vars['peisong']; ?>
</td>
                                </tr><?php if ($_POST['fapiao'] != ""): ?>
                                <tr>
                                  <td align="right" bgcolor="#F7F7F7">是否开发票：</td>
                                  <td align="left">&nbsp;
                                  <input name="fapiao" type="hidden" id="fapiao" value="<?php echo $_POST['fapiao']; ?>
" size="20" />
                                  <?php echo $_POST['fapiao']; ?>
</td>
                                  <td align="right" bgcolor="#F7F7F7">发票抬头：</td>
                                  <td align="left">&nbsp;<input name="fapiaotaitou" type="hidden" id="fapiaotaitou" value="<?php echo $_POST['fapiaotaitou']; ?>
" size="20" />
                                  <?php echo $_POST['fapiaotaitou']; ?>
</td>
                                </tr><?php endif; ?>
                                <tr >
                                  <td height="25" align="right" valign="middle" bgcolor="#F7F7F7">详细地址：</td>
                                  <td height="25" colspan="3" align="left">&nbsp;
                                  <input name="dizhi" type="hidden" id="dizhi" value="<?php echo $_POST['dizhi']; ?>
" size="50"/><?php echo $_POST['dizhi']; ?>

                                  </td>
                                </tr>
                                
                                <tr> 
                                  <td width="18%" align="right" bgcolor="#F7F7F7">简单留言：</td>
                                  <td colspan="3" align="left"> <div align="left"> 
                                    &nbsp;
                                    <input name="content" type="hidden" id="content" value="<?php echo $_POST['content']; ?>
 " size="20" /><?php echo $_POST['content']; ?>

                                    </div></td>
                                </tr>
                              </table></td>
                            </tr>
                          </table><br />
                          <table width="98%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#CCCCCC">
                            <tr> 
                              <td align="left" bgcolor="#f1f1f1">&nbsp;金额总汇</td>
                            </tr>
                            <tr bgcolor="#FFFFFF"> 
                              <td width="87%" align="left" valign="top" bgcolor="#FFFFFF"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="1">
                                <tr>
                                  <td align="right" bgcolor="#F7F7F7">商品重量：</td>
                                  <td align="left"><?php echo $this->_tpl_vars['zhongliang']; ?>

                                  <input name="zhongliang" type="hidden" id="zhongliang" value="<?php echo $this->_tpl_vars['zhongliang']; ?>
" /></td>
                                </tr>
                                <tr>
                                  <td align="right" bgcolor="#F7F7F7">可获积分：</td>
                                  <td align="left"><?php echo $this->_tpl_vars['jifen']; ?>

                                  <input name="jifen" type="hidden" id="jifen" value="<?php echo $this->_tpl_vars['jifen']; ?>
" /></td>
                                </tr>
                                <tr>
                                  <td width="18%" align="right" bgcolor="#F7F7F7">商品金额：</td> 
                                  <td width="82%" align="left" bgcolor="#FFFFCC"><?php echo ((is_array($_tmp=$this->_tpl_vars['zongji'])) ? $this->_run_mod_handler('number_format', true, $_tmp, 2) : number_format($_tmp, 2)); ?>

                                  <input name="zongji" type="hidden" id="zongji" value="<?php echo $this->_tpl_vars['zongji']; ?>
" /></td>
                                </tr>
                                <tr>
                                  <td align="right" bgcolor="#F7F7F7">支付手续：</td>
                                  <td align="left" bgcolor="#FFFFCC"><?php echo ((is_array($_tmp=$this->_tpl_vars['zhifuprice'])) ? $this->_run_mod_handler('number_format', true, $_tmp, 2) : number_format($_tmp, 2)); ?>

                                  <input name="zhifuprice" type="hidden" id="zhifuprice" value="<?php echo $this->_tpl_vars['zhifuprice']; ?>
" /></td>
                                </tr>
                                <tr>
                                  <td align="right" bgcolor="#F7F7F7">配送费用：</td>
                                  <td align="left" bgcolor="#FFFFCC"><?php echo ((is_array($_tmp=$this->_tpl_vars['peisongprice'])) ? $this->_run_mod_handler('number_format', true, $_tmp, 2) : number_format($_tmp, 2)); ?>

                                  <input name="peisongprice" type="hidden" id="peisongprice" value="<?php echo $this->_tpl_vars['peisongprice']; ?>
" /></td>
                                </tr>
                                <tr>
                                  <td align="right" bgcolor="#F7F7F7">发票费：</td>
                                  <td align="left" bgcolor="#FFFFCC"><?php echo ((is_array($_tmp=$this->_tpl_vars['fapiaoprice'])) ? $this->_run_mod_handler('number_format', true, $_tmp, 2) : number_format($_tmp, 2)); ?>

                                  <input name="fapiaoprice" type="hidden" id="fapiaoprice" value="<?php echo $this->_tpl_vars['fapiaoprice']; ?>
" /></td>
                                </tr>
                                <tr>
                                  <td align="right" bgcolor="#F7F7F7">总共需要支付：</td>
                                  <td align="left" bgcolor="#FFFFCC"><?php echo ((is_array($_tmp=$this->_tpl_vars['zongprice'])) ? $this->_run_mod_handler('number_format', true, $_tmp, 2) : number_format($_tmp, 2)); ?>

                                    <input name="zongprice" type="hidden" id="zongprice" value="<?php echo $this->_tpl_vars['zongprice']; ?>
" />
                                  （<span style="border-right:solid 1px #d5e7fd;">(Z币)</span>商品金额+支付手续+配送费用+发票费）</td>
                                </tr>
                                </table>
                              </td>
                            </tr>
                          </table>
                        
                          <table width="98%" border="0" align="center">
                            <tr>
                              <td height="33"><div align="center">
                                <input name="btn_b" type="button" id="btn_b" value=" 上一页 " onclick="history.go(-1);" />
                                &nbsp;
<input name="btn_save" type="submit" id="btn_save" value="确定提交" />
                                &nbsp;</div></td>
                            </tr>
                          </table>
</form></td>
                    </tr>
                  </table>